package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ly.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 金蝶-采购退料单明细序列号对象 erp_king_procure_refund_material_detail_serial_info
 *
 * @author cxl
 * @date 2024-07-16
 */
@TableName ("erp_king_procure_refund_material_detail_serial_info")
@ApiModel (value = "金蝶-采购退料单明细序列号", description = "金蝶-采购退料单明细序列号")
@Data
public class KingProcureRefundMaterialDetailSerialEntity{

        /** 主键id */
        @TableId (type = IdType.INPUT)
        private String id;

        /** 采购退料单表id */
        @ApiModelProperty ("采购退料单表id")
        @TableField ("procure_refund_id")
        @Excel (name = "采购退料单表id")
        private String procureRefundId;

        /** 采购退料单物料明细表id */
        @ApiModelProperty ("采购退料单物料明细表id")
        @TableField ("procure_refund_material_id")
        @Excel (name = "采购退料单物料明细表id")
        private String procureRefundMaterialId;

        /** 退料单明细表 */
        @ApiModelProperty ("退料单明细表")
        @TableField ("material_detail_id")
        @Excel (name = "退料单明细表")
        private String materialDetailId;

        /** 序列号 */
        @ApiModelProperty ("序列号")
        @TableField ("serial_code")
        @Excel (name = "序列号")
        private String serialCode;

        /** 备注 */
        @ApiModelProperty ("备注")
        @TableField ("remark")
        @Excel (name = "备注")
        private String remark;

        @ApiModelProperty ("创建人")
        @TableField ("create_by")
        @Excel (name = "创建人")
        private String createBy;

        /** 创建时间 */
        @ApiModelProperty ("创建时间")
        @TableField ("create_time")
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel (name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
        private Date createTime;

        @ApiModelProperty ("修改人")
        @TableField ("update_by")
        @Excel (name = "修改人")
        private String updateBy;

        @ApiModelProperty ("修改日期")
        @TableField ("update_time")
        @JsonFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
        @Excel (name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
        private Date updateTime;

        /** 是否可用 */
        @ApiModelProperty ("是否可用")
        @TableField ("is_used")
        @Excel (name = "是否可用")
        @TableLogic
        private Integer isUsed;


}
